package org.apache.dolphinscheduler.api.service;

import org.apache.dolphinscheduler.api.utils.Result;
import org.apache.dolphinscheduler.dao.entity.ChargingRule;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 收费规则表 服务类
 * </p>
 *
 * @author denggh
 * @since 2023-08-15
 */
public interface ChargingRuleService {

    Result selectChargingRuleList();

    Map<String, Object> selectChargingRuleById(Long chargingRuleId);

    Map<String, Object> insertChargingRule(ChargingRule chargingRule);

    Map<String, Object> updateChargingRule(List<ChargingRule> chargingRule);

    Map<String, Object> deleteChargingRuleById(Long chargingRuleId);
}
